WP_Defender\Controller\Main_Setting B

Total Complexity 100
Dependencies 21
Dependents 4
Total lines 836
Lines of code 559
Logical lines of code 245
Comment lines 177
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
clear_logs_from_files()
A
47 13 33
apply_config()
A
39 10 68
update_config()
A
43 7 55
import_config()
A
42 7 53
new_config()
A
44 6 50
download_config()
A
48 7 34
delete_config()
S
46 6 42
data_frontend()
S
47 5 37
clear_logs()
S
54 6 20
validate_importer()
S
56 5 18
get_configs_and_update_status()
S
58 4 15
intercept_settings_update()
S
63 4 10
save_settings()
S
54 2 23
reset_settings()
S
52 1 25
__construct()
S
55 1 19
import_data()
S
69 2 7
get_model()
S
72 2 6
track_opt()
S
69 2 7
check_cron_schedule()
S
72 2 5
enqueue_assets()
S
67 2 8
apply_config_recommendations_error_message()
S
61 1 13
to_array()
S
98 1 1
remove_data()
S
98 1 1
remove_settings()
S
81 1 3
export_strings()
S
82 1 3
main_view()
S
81 1 3